using IFramework;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace IFramework
{
    public interface IUIBase : IPoolObj
    {
        UIData Data { get; }
        void OnEnter(params object[] paras);
        void OnExit(params object[] paras);
        void ShowItem<T>(T Prefab, params object[] paras) where T : UIItem;
        void HideItem(Type itemType, params object[] paras);

        Transform GetCrtlByName(string name);
        void AddToDic(string name, Transform tran);
    }
}